<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
    	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<title></title>
		<link rel="stylesheet" href="../css/common/mui.css" />
		<link rel="stylesheet" href="../css/common/common.css" />
		<link rel='stylesheet' href='../css/common/upload.css' />
	</head>
	<body>
		<div id='body'></div>
		<div class='upload'>
			<button>点击上传头像</button>
			<input type="file" accept="image/*"/>
		</div>
		<script src='../js/common/jquery.min.js'></script>
		<script>
			var upload={
				btn: $('.upload button'),
				addImage: $('.upload input'),
				btnClick: function(){
					this.addImage.click();
				}
			}
			$('body').on('click','.upload button',function(){
				upload.btnClick();
			})
		</script>
	</body>
</html>
